import { FormComponent } from "./types";
import { Component } from "vue";
import {
  Input,
  InputNumber,
  InputPassword,
  InputTag,
  RangePicker,
  Upload,
  Select,
  Switch,
  CheckboxGroup,
  RadioGroup,
  Textarea,
} from "@arco-design/web-vue";

const components: Record<FormComponent, Component> = {
  Input,
  InputPassword,
  InputNumber,
  InputTag,
  RangePicker,
  Upload,
  Select,
  Switch,
  CheckboxGroup,
  RadioGroup,
  Textarea,
};

export default components;
